package com.example.Accounting14;

import org.springframework.data.repository.CrudRepository;

// This will be AUTO IMPLEMENTED by Spring into a Bean called userRepository
// CRUD refers Create, Read, Update, Delete

public interface CashRepository extends CrudRepository<Cash, Integer> {
	// 根据 状态 查询
	Iterable<Cash> findByStatus(int status);

	// 根据 成本表的订单id 查询
	Cash findByCostid(Integer costid);
}
